]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
js/portal-resources: Add missing fileUtils to js path
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Tue, 1 Nov 2022 11:26:31 +0000 (12:26 +0100)
committerMarge Bot <marge-bot@gnome.org>
Thu, 3 Nov 2022 18:02:27 +0000 (18:02 +0000)
gnome-shell-portal-helper was failing with:

  (gnome-shell-portal-helper:646052): Gjs-CRITICAL **: 12:24:30.852:
    JS ERROR: ImportError: No JS module 'fileUtils' found in search path
    @resource:///org/gnome/shell/portalHelper/main.js:13:30
    @<main>:1:14

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6020
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2524>

js/portal-resources.gresource.xml

index dbcf11b1d04a012f4fcdbc3d71a0f36bf593a382..ff363068e2bade6b3dfaaec437dcc478a17c311d 100644 (file)
@@ -5,5 +5,6 @@
 
     <file>misc/config.js</file>
     <file>misc/dbusUtils.js</file>
+    <file>misc/fileUtils.js</file>
   </gresource>
 </gresources>